# import sys
# sys.path.insert(0,'../../../')
# import os
# os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'meiduo_mall.settings.dev')
# import django
# django.setup()
# from goods.models import SKU
# from celery_tasks.html.tasks import generate_static_sku_detail_html
#
# if __name__ == '__main__':
#     # 获取所有的商品信息
#     skus = SKU.objects.all()
#     # 遍历拿出所有的商品:
#     for sku in skus:
#
#         generate_static_sku_detail_html.delay(sku.id)